import abc.hd.com.dao.daouser;
import abc.hd.com.entity.bookuser;
import abc.hd.com.ggl.DateUtil;
import abc.hd.com.sersiona.aer;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;


@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath*:abcd.xml")
public class aa {
   @Autowired
    private aer cca;

   @Test
    public void az(){
       System.out.println (cca.queryall (1));
   }
   @Test
    public void azz(){
       System.out.println (cca.getonedata (null, null));
   }
}
